package com.huangwenshuo.futurestarschoolmanagement.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author huangwenshuo
 * @since 2020-12-26
 */
@Data
public class RolesPermissionsPo implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 角色id
     */
    private Integer rid;

    /**
     * 权限id
     */
    private Integer pid;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 是否删除 0 否 1是
     */
    private Boolean isDelete;


    @Override
    public String toString() {
        return "RolesPermissions{" +
        "id=" + id +
        ", rid=" + rid +
        ", pid=" + pid +
        ", createTime=" + createTime +
        ", isDelete=" + isDelete +
        "}";
    }
}
